﻿using System;
using System.Collections.Generic;
using System.ComponentModel;


namespace OBUCare.Web.Models
{
    public class RepairDailyViewModel
    {
        [DisplayName("操作日期")]
        public DateTime RECORD_DATE { get; set; }
        [DisplayName("所属营业厅")]
        public string AGENT_NAME { get; set; }

        [DisplayName("操作员")]
        public string OPERATOR_NAME { get; set; }

        [DisplayName("维修费用(元)")]
        public decimal RepairObu { get; set; }

        [DisplayName("一口价维修费用(元)")]
        public decimal OneRepair { get; set; }

        [DisplayName("背胶销售(元)")]
        public decimal IssueSpareTape { get; set; }

        [DisplayName("底座销售(元)")]
        public decimal IssueBase { get; set; }

        [DisplayName("收取押金(元)")]
        public decimal CollectsDeposit { get; set; }

        [DisplayName("服务费(元)")]
        public decimal RepairServiceFee { get; set; }

        [DisplayName("退还押金(元)")]
        public decimal ReturnDeposit { get; set; }

        [DisplayName("交易总金额(元)")]
        public decimal SUM_PRICE
        {
            get
            {
                return OneRepair + RepairObu + IssueSpareTape + IssueBase + CollectsDeposit + RepairServiceFee + ReturnDeposit;
            }
        }
    }
}